<div class="uiTimelineLeftCol">
	Content of left column
</div>
<div class="uiTimlineMainCol">
	<div>
<?php echo $this -> render('activity/view/partial/composer'); ?>
<div class="uiActivityFeedItemList followBlock">
<?php foreach ($items as $item): ?>
<div class="feedEntry uiTimelineEntry clearfix" id="<?php echo $item -> getHtmlId(); ?>">
	<div class="uiTimlineFeedEntryHd">
		<div class="lfloat mright10">
			<?php echo $item -> getPoster() -> toCardhoverPhoto('s50', array(
				'width' => 50,
				'height' => 50
			));
		?>	
		</div>
		<div>
			<div class="uiFeedEntryHeadline">
				<?php  echo $item -> getHeadline(); ?>
			</div>
			<div class="uiFeedActionLists">
				<abbr class="timestamp" data-utime="" title="<?php echo Intl::formatDateTime($item -> created_at); ?>"><?php echo Intl::getTimeDiff($item -> created_at); ?></abbr>
			    <span class="middot">&middot;</span>
			    <span hover="tooltip" tooltip="<?php echo get_privacy_label($item -> privacy); ?>">
			    	<i class="uiIcon uiIconFeedPrivacy">&nbsp;</i>
			    </span>
			</div>	
		</div>
	</div>
	<div class="clearfix"></div>
	<div class="uiTimlineFeedEntryBd">
		<div class="uiFeedEntryStory"><?php  echo Nuo::getView() -> filterOutput($item -> getMessage()); ?></div>
		<?php if($item->attachment_count): ?>
		<div class="uiFeedEntryAttachments">
			<?php echo $item -> getAttachmentRichContent(); ?>
		</div>
		<?php endif; ?> 
	</div>
	<?php $obj = $item -> getObject(); ?>
	<div class="uiTimlineFeedEntryFt">
			<div class="feedEntryStats">
		    	<ul>
				    <?php if($isUser):?>
					<li class="commentEntry uiFeedEntryAction uiTimelineActionList">
						<a aria-click="jscript" class="uiFeedLikeLinkPlh" aria-cb="activity.like" data-id="<?php echo $obj -> getItemId(); ?>"><?php echo Intl::__($item -> isLiked() ? 'Unlike' : 'Like'); ?></a> 
						<span class="middot">&middot;</span>
					    <a aria-click="jscript" aria-cb="comment.focus" href="<?php echo Nuo::getUrl('comment/add', array('data-id' => $obj -> getItemId())); ?>" aria-click="button"><?php echo Intl::__('Comment'); ?></a>
					    <span class="middot">&middot;</span>
					    <a aria-click="jscript" aria-cb="share.open" href="<?php echo Nuo::getUrl('share/add', array('data-id' => $obj -> getItemId())); ?>" aria-click="button"><?php echo Intl::__('Share'); ?></a>
					</li>
				    <?php endif; ?>		
		    		<li class="commentEntry uiFeedLikeMsg <?php echo $obj -> like_count ? '' : 'hidden'; ?>">
						<i class="uiIcon uiFeedIconLike"></i>
						<span class="uiFeedLikeMsgPlh"><?php echo $obj -> getLikeMessage(); ?></span>						
					</li>
					<li class="commentEntry uiFeedCommentMsg <?php echo $obj->comment_count>5?'':'hidden'?>">
						<i class="uiIcon uiFeedIconComment"></i>
						<?php echo $obj -> comment_count; ?> comments
					</li>
					<?php if($obj->comment_count): ?>
					<?php echo $this -> render('activity/view/partial/comments', array(
							'comments' => $obj -> getComments(5),
							'viewer' => $viewer,
							'isUser' => $isUser,
						));
					?>
					<?php endif; ?>
					<?php if($isUser): ?>
					<?php echo $this -> render('activity/view/partial/comment-form', array(
							'viewer' => $viewer,
							'item' => $item,
							'obj' => $obj,
							'isUser' => $isUser,
						));
					?>
					<?php endif; ?>
				</ul>
			</div>
		</div> <!-- end feed entry footer -->
</div>
<?php endforeach; ?>
</div>
</div></div>